import type { IForm } from "/@/base-ui/form/types";

export const searchFormConfig: IForm = {
  labelWidth: "75px",
  itemStyle: {
    padding: "10px 0 0"
  },
  colLayout: {
    span: 6
  },
  formItems: [
    {
      field: "costTypeCode",
      type: "select",
      label: "费用名称",
      placeholder: "请选择",
      options: []
    },
    {
      field: "chargeCompany",
      type: "input",
      label: "收费单位",
      placeholder: "请输入"
    },
    {
      field: "costTime",
      type: "datepicker",
      label: "费用产生日期",
      labelWidth: "110px",
      childrenProps: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange"
      }
    },
    {
      field: "isShareTransfer",
      type: "select",
      label: "是否已分摊转固",
      labelWidth: "110px",
      placeholder: "请选择",
      options: [
        {
          label: "是",
          value: "1"
        },
        {
          label: "否",
          value: "0"
        }
      ]
    }
  ]
};
